#include <stdio.h>
int my_strcpy(char*dest,char*res)
{
	while (*dest = *res)
	{
		*dest++; *res++;
	}
	return *dest;
}
int main()
{
	char dest[] = "asdfg";
	char res[5] = { 't','r','e','w','q'};
    my_strcpy(dest, res);
	int i = 0;
	for (i = 0; i <5; i++)
	{
		printf("%c", dest[i]);
	}
	
	return 0;
}